<div class="blazorise-codeblock">
<div class="csharp"><pre>
<span class="keyword">private</span> <span class="keyword">readonly</span> ObservableAsPropertyHelper&lt;<span class="keyword">bool</span>&gt; _canRegister;  
<span class="keyword">public</span> <span class="keyword">bool</span> CanRegister =&gt; _canRegister.Value;
</pre></div>
</div>
